package com.xhsj.user.sms.purchase.query;

import com.xhsj.user.sms.purchase.entity.TbPurchaseSubtaskStorageRecord;
import com.xhsj.user.sms.purchase.entity.TbPurchaseSubtaskStorageRecordFile;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: liuqinghua
 * @Description:仓管部入库
 * @Data:2020/4/30
 */
@Data
public class StorageSmsApprovalQuery extends PurchaseOrderQuerySms {

    @Valid
    @NotNull(message = "tbPurchaseOrderStorageRecordList记录不能为空")
    private List<TbPurchaseSubtaskStorageRecord> tbPurchaseOrderStorageRecordList;

    private int totalInstorageNumber;//总共入库数量

    private String purchaseOrderId;//订单id

    private Integer recordBatch;//质检批次

    private Integer storageRecordBatch;//入库批次

    private Integer type; //0 报检单  2 入库 4 付款  6调整期款单据说明

    @Valid
    @NotNull(message = "purchaseOrderOtherFileQuery单不能为空")
    private List<TbPurchaseSubtaskStorageRecordFile> purchaseOrderOtherFileQuery;

}
